package com.ruoyi.common.core.plus.web.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

/**
 * @author liuxing
 * @apiNote 开关枚举类
 * @date 2022/11/04 10:30
 */
@AllArgsConstructor
@Getter
public enum SysNormalDisableEnum {

    NORMAL("0","正常"),

    DISABLE("1","禁用");


    @Setter
    @JsonValue
    @EnumValue
    private String code;

    @Setter
    private String info;

}
